/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;

/**
 *
 * @author Claus
 */
public interface IFDBSalesOrder
{
	// get all SalesOrders
    public ArrayList<SalesOrder> getAllSalesOrders(boolean retriveAssociation);
    //get one SalesOrder having the ID
    public SalesOrder findSalesOrder(int id, boolean retriveAssociation);
    //find one SalesOrder having the name
    public ArrayList<SalesOrder> getCustomerSalesOrders(int cusID);
    //insert a new SalesOrder
    public int insertSalesOrder(SalesOrder order);
    //update information about a SalesOrder
    public int updateSalesOrder(SalesOrder order);
    //delete information about a SalesOrder
    public int deleteSalesOrder(int SalesID);
}
